package service

import (
	ConfigApi "mldong/api/config"
	"reflect"
)

type IConfigService interface {
	/**
	* 添加配置
	 */
	Save(req *ConfigApi.SaveReq) (res bool, err error)
	/**
	* 修改配置
	 */
	Update(req *ConfigApi.UpdateReq) (res bool, err error)
	/**
	* 删除配置
	 */
	Remove(ids []string) (res bool, err error)
	/**
	* 配置详情
	 */
	Detail(id string) (res ConfigApi.ConfigVO, err error)
	/**
	* 配置分页查询
	 */
	Page(req *ConfigApi.PageReq) (res ConfigApi.ConfigPageVO, err error)
}

var ConfigServiceType = reflect.TypeOf((*IConfigService)(nil)).Elem()
